package com.stars.easyms.demo.service;

import com.stars.easyms.demo.dto.UserInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserInfoService {

    /**
     * 处理逻辑
     */
    public void test(List<UserInfo> userInfoList) {
        for (UserInfo userInfo : userInfoList) {
            System.out.println(userInfo.getName() + ":" + userInfo.getAge());
        }
    }

}